<?php
/*
 *   This file is part of poat.
 *
 *   poat is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   poat is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with poat.  If not, see <http://www.gnu.org/licenses/>.
 */
 
	/* EMAIL */
	global $MAIL;
	
	$MAIL['activated'] = "activated";
	$MAIL['deactivated'] = "deactivated";
	
	$MAIL['todo'] = "Pending";
	$MAIL['done'] = "Done";
	$MAIL['cmpnd'] = "Waiting commit";
	$MAIL['chkpnd'] = "Requires proofread";
	$MAIL['locked'] = "Assigned";
	$MAIL['proof'] = "Proofreading";
	
	/* USER REGISTRATION */
	$MAIL['newusermail'] = "The user '&0' has requested to join your team.";
	$MAIL['newusermailsub'] = "New user registration - &0";
	$MAIL['newusermailadmin'] = "The user &0 has requested to join the team &1.";
	$MAIL['newusermailsubadmin'] = "New user registration - &0 - Team: &1";
	$MAIL['regreceived'] = "Welcome &0.\nYou will receive an email with instructions to activate your account.";
	$MAIL['regreceivedinactive'] = "The registration of the user '&0' has been received.\nYou will receive an email with instructions to activate your account.\nA coordinator will review your request before accept it";
	$MAIL['regreceivedsub'] = "User registration received";
	$MAIL['confirmmail'] = "To enable your account you need to confirm your mail address by clicking on the link below. This link will be valid for the next &0 hours.";
	$MAIL['confirmmailsub'] = "Confirm registration";	

	/* PASSWORD RECOVERY */
	$MAIL['pwdrecoverymail'] = "A password reset has been requested, go to the link below to change your password. The link will be valid for the next &0 hours.";
	$MAIL['pwdrecoverysub'] = "Password reset";

	/* USER PREFERENCES */
	$MAIL['switchteamuser'] = "The user '&0', previously member of the team '&1', has requested to join your team.\nHis/her was automatically disabled until you decide to enable it.\nIf you need to contact the user, you can do it from the user administration page or replying this mail.";
	$MAIL['switchteamusersub'] = "The user '&0' has requested to join your team.";

	/* USER ADMINISTRATION */
	$MAIL['userstatuschange'] = "Your user has been &0";
	$MAIL['mp'] = "Message from &0";
	$MAIL['teamswitch'] = "The user '&0' has been assigned to team '&1'.";
	$MAIL['teamswitchconfirm'] = "You have been assigned to team '&1'.";

	/* FILE LIST */
	// &0 filename, &1 project name, &2 subproject name
	$MAIL['assignmailsub'] = "Assigned file &0 [&1 : &2]";
	$MAIL['assignmail'] = "The team coordinator has assigned you the file &0 [&1 : &2]";
	//$MAIL['statsupdatedfile'] = "The file &0, project &1 has been changed due to new messages detected during statistics update.";
	$MAIL['statsupdatedfile'] = "The following files were modified due to new messages detected during statistics update:";
	$MAIL['statsupdatefileline'] = "&0 [&1] -&2-";
	$MAIL['statsupdatedfilesub'] = "Messages modified detected during statistics update";	
	// &0 filename, &1 project, &2 subproject name, &3 file status, &4 userid, &5 date
	$MAIL['fileupdated'] = "&3 &0 [&1 : &2] - &4 - &5";
	$MAIL['assignlistsub'] = "Your list of assigned files";
	$MAIL['assignlist'] = "You have the following files assigned:\n\n";

	/* FILE UPLOAD */
	$MAIL['commitrequestsub'] = "The user '&0' is requesting to commit a file";
	$MAIL['commitrequest'] = "Go to &0 to reject the file or to update the file status after commit.\n\nThe user wrote the following comment: &1";
	$MAIL['rejectfile'] = "The user '&0' reject to commit the following files:";
	$MAIL['rejectfilesub'] = "File &0. Commit rejected.";
	$MAIL['filecommited'] = "The user '&0' has commited the following files:";
	$MAIL['filecommited2'] = "\nand wrote: ";
	$MAIL['filecommitedsub'] = "File &0. Commited by &1";
	
	/* TASKS */
	$MAIL['taskbegins'] = "begins";
	$MAIL['taskfinish'] = "finish";
	$MAIL['tasknotification'] = "Task reminder: &0 &1 &2";

	/* GLOSSARY */
	$MAIL['glossaryupdate'] = "The user &0 made the following change on the glossary:\n\n";
	$MAIL['glossaryupdatesub'] = "Glossary updated";
	$MAIL['glossarynew'] = "=> New\n\nTerm: &newterm\nTranslation: &newtranslation\nContext: &newcontext\nRelated: &newrelated";
	$MAIL['glossaryedit'] = "=> Modified\n\nTerm: &oldterm ===> &newterm\nTranslation: &oldtranslation ===> &newtranslation\nContext: &oldcontext ===> &newcontext\nRelated: &oldrelated ===> &newrelated";

	$MAIL['reginvite'] = "You has been invited to join the team &0. Click in the link below to sign up. The link will be valid until &1.";
	$MAIL['reginvitesub'] = "Verbum has invited you to open an account";
	
?>
